#include <stdio.h>

void main(){
    int a, b, c,sum;
    double average;
    int min, max;
    scanf("%d %d %d",&a,&b,&c);
    sum = a + b + c;
    average=sum/3.0;
    min = (a<b)?((a<c)?a:c):((b<c)?b:c);
    max = (a>b)?((a>c)?a:c):((b>c)?b:c);
    printf("%d %.2lf %d %d",sum,average,min,max);   
}